package top.wintp.offlinedataanalysis.anlyser.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * stats_hourly
 * @author 
 */
public class StatsHourly extends StatsHourlyKey implements Serializable {
    private Integer hour00;

    private Integer hour01;

    private Integer hour02;

    private Integer hour03;

    private Integer hour04;

    private Integer hour05;

    private Integer hour06;

    private Integer hour07;

    private Integer hour08;

    private Integer hour09;

    private Integer hour10;

    private Integer hour11;

    private Integer hour12;

    private Integer hour13;

    private Integer hour14;

    private Integer hour15;

    private Integer hour16;

    private Integer hour17;

    private Integer hour18;

    private Integer hour19;

    private Integer hour20;

    private Integer hour21;

    private Integer hour22;

    private Integer hour23;

    private Date created;

    private static final long serialVersionUID = 1L;

    public Integer getHour00() {
        return hour00;
    }

    public void setHour00(Integer hour00) {
        this.hour00 = hour00;
    }

    public Integer getHour01() {
        return hour01;
    }

    public void setHour01(Integer hour01) {
        this.hour01 = hour01;
    }

    public Integer getHour02() {
        return hour02;
    }

    public void setHour02(Integer hour02) {
        this.hour02 = hour02;
    }

    public Integer getHour03() {
        return hour03;
    }

    public void setHour03(Integer hour03) {
        this.hour03 = hour03;
    }

    public Integer getHour04() {
        return hour04;
    }

    public void setHour04(Integer hour04) {
        this.hour04 = hour04;
    }

    public Integer getHour05() {
        return hour05;
    }

    public void setHour05(Integer hour05) {
        this.hour05 = hour05;
    }

    public Integer getHour06() {
        return hour06;
    }

    public void setHour06(Integer hour06) {
        this.hour06 = hour06;
    }

    public Integer getHour07() {
        return hour07;
    }

    public void setHour07(Integer hour07) {
        this.hour07 = hour07;
    }

    public Integer getHour08() {
        return hour08;
    }

    public void setHour08(Integer hour08) {
        this.hour08 = hour08;
    }

    public Integer getHour09() {
        return hour09;
    }

    public void setHour09(Integer hour09) {
        this.hour09 = hour09;
    }

    public Integer getHour10() {
        return hour10;
    }

    public void setHour10(Integer hour10) {
        this.hour10 = hour10;
    }

    public Integer getHour11() {
        return hour11;
    }

    public void setHour11(Integer hour11) {
        this.hour11 = hour11;
    }

    public Integer getHour12() {
        return hour12;
    }

    public void setHour12(Integer hour12) {
        this.hour12 = hour12;
    }

    public Integer getHour13() {
        return hour13;
    }

    public void setHour13(Integer hour13) {
        this.hour13 = hour13;
    }

    public Integer getHour14() {
        return hour14;
    }

    public void setHour14(Integer hour14) {
        this.hour14 = hour14;
    }

    public Integer getHour15() {
        return hour15;
    }

    public void setHour15(Integer hour15) {
        this.hour15 = hour15;
    }

    public Integer getHour16() {
        return hour16;
    }

    public void setHour16(Integer hour16) {
        this.hour16 = hour16;
    }

    public Integer getHour17() {
        return hour17;
    }

    public void setHour17(Integer hour17) {
        this.hour17 = hour17;
    }

    public Integer getHour18() {
        return hour18;
    }

    public void setHour18(Integer hour18) {
        this.hour18 = hour18;
    }

    public Integer getHour19() {
        return hour19;
    }

    public void setHour19(Integer hour19) {
        this.hour19 = hour19;
    }

    public Integer getHour20() {
        return hour20;
    }

    public void setHour20(Integer hour20) {
        this.hour20 = hour20;
    }

    public Integer getHour21() {
        return hour21;
    }

    public void setHour21(Integer hour21) {
        this.hour21 = hour21;
    }

    public Integer getHour22() {
        return hour22;
    }

    public void setHour22(Integer hour22) {
        this.hour22 = hour22;
    }

    public Integer getHour23() {
        return hour23;
    }

    public void setHour23(Integer hour23) {
        this.hour23 = hour23;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        StatsHourly other = (StatsHourly) that;
        return (this.getPlatformDimensionId() == null ? other.getPlatformDimensionId() == null : this.getPlatformDimensionId().equals(other.getPlatformDimensionId()))
            && (this.getDateDimensionId() == null ? other.getDateDimensionId() == null : this.getDateDimensionId().equals(other.getDateDimensionId()))
            && (this.getKpiDimensionId() == null ? other.getKpiDimensionId() == null : this.getKpiDimensionId().equals(other.getKpiDimensionId()))
            && (this.getHour00() == null ? other.getHour00() == null : this.getHour00().equals(other.getHour00()))
            && (this.getHour01() == null ? other.getHour01() == null : this.getHour01().equals(other.getHour01()))
            && (this.getHour02() == null ? other.getHour02() == null : this.getHour02().equals(other.getHour02()))
            && (this.getHour03() == null ? other.getHour03() == null : this.getHour03().equals(other.getHour03()))
            && (this.getHour04() == null ? other.getHour04() == null : this.getHour04().equals(other.getHour04()))
            && (this.getHour05() == null ? other.getHour05() == null : this.getHour05().equals(other.getHour05()))
            && (this.getHour06() == null ? other.getHour06() == null : this.getHour06().equals(other.getHour06()))
            && (this.getHour07() == null ? other.getHour07() == null : this.getHour07().equals(other.getHour07()))
            && (this.getHour08() == null ? other.getHour08() == null : this.getHour08().equals(other.getHour08()))
            && (this.getHour09() == null ? other.getHour09() == null : this.getHour09().equals(other.getHour09()))
            && (this.getHour10() == null ? other.getHour10() == null : this.getHour10().equals(other.getHour10()))
            && (this.getHour11() == null ? other.getHour11() == null : this.getHour11().equals(other.getHour11()))
            && (this.getHour12() == null ? other.getHour12() == null : this.getHour12().equals(other.getHour12()))
            && (this.getHour13() == null ? other.getHour13() == null : this.getHour13().equals(other.getHour13()))
            && (this.getHour14() == null ? other.getHour14() == null : this.getHour14().equals(other.getHour14()))
            && (this.getHour15() == null ? other.getHour15() == null : this.getHour15().equals(other.getHour15()))
            && (this.getHour16() == null ? other.getHour16() == null : this.getHour16().equals(other.getHour16()))
            && (this.getHour17() == null ? other.getHour17() == null : this.getHour17().equals(other.getHour17()))
            && (this.getHour18() == null ? other.getHour18() == null : this.getHour18().equals(other.getHour18()))
            && (this.getHour19() == null ? other.getHour19() == null : this.getHour19().equals(other.getHour19()))
            && (this.getHour20() == null ? other.getHour20() == null : this.getHour20().equals(other.getHour20()))
            && (this.getHour21() == null ? other.getHour21() == null : this.getHour21().equals(other.getHour21()))
            && (this.getHour22() == null ? other.getHour22() == null : this.getHour22().equals(other.getHour22()))
            && (this.getHour23() == null ? other.getHour23() == null : this.getHour23().equals(other.getHour23()))
            && (this.getCreated() == null ? other.getCreated() == null : this.getCreated().equals(other.getCreated()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getPlatformDimensionId() == null) ? 0 : getPlatformDimensionId().hashCode());
        result = prime * result + ((getDateDimensionId() == null) ? 0 : getDateDimensionId().hashCode());
        result = prime * result + ((getKpiDimensionId() == null) ? 0 : getKpiDimensionId().hashCode());
        result = prime * result + ((getHour00() == null) ? 0 : getHour00().hashCode());
        result = prime * result + ((getHour01() == null) ? 0 : getHour01().hashCode());
        result = prime * result + ((getHour02() == null) ? 0 : getHour02().hashCode());
        result = prime * result + ((getHour03() == null) ? 0 : getHour03().hashCode());
        result = prime * result + ((getHour04() == null) ? 0 : getHour04().hashCode());
        result = prime * result + ((getHour05() == null) ? 0 : getHour05().hashCode());
        result = prime * result + ((getHour06() == null) ? 0 : getHour06().hashCode());
        result = prime * result + ((getHour07() == null) ? 0 : getHour07().hashCode());
        result = prime * result + ((getHour08() == null) ? 0 : getHour08().hashCode());
        result = prime * result + ((getHour09() == null) ? 0 : getHour09().hashCode());
        result = prime * result + ((getHour10() == null) ? 0 : getHour10().hashCode());
        result = prime * result + ((getHour11() == null) ? 0 : getHour11().hashCode());
        result = prime * result + ((getHour12() == null) ? 0 : getHour12().hashCode());
        result = prime * result + ((getHour13() == null) ? 0 : getHour13().hashCode());
        result = prime * result + ((getHour14() == null) ? 0 : getHour14().hashCode());
        result = prime * result + ((getHour15() == null) ? 0 : getHour15().hashCode());
        result = prime * result + ((getHour16() == null) ? 0 : getHour16().hashCode());
        result = prime * result + ((getHour17() == null) ? 0 : getHour17().hashCode());
        result = prime * result + ((getHour18() == null) ? 0 : getHour18().hashCode());
        result = prime * result + ((getHour19() == null) ? 0 : getHour19().hashCode());
        result = prime * result + ((getHour20() == null) ? 0 : getHour20().hashCode());
        result = prime * result + ((getHour21() == null) ? 0 : getHour21().hashCode());
        result = prime * result + ((getHour22() == null) ? 0 : getHour22().hashCode());
        result = prime * result + ((getHour23() == null) ? 0 : getHour23().hashCode());
        result = prime * result + ((getCreated() == null) ? 0 : getCreated().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", hour00=").append(hour00);
        sb.append(", hour01=").append(hour01);
        sb.append(", hour02=").append(hour02);
        sb.append(", hour03=").append(hour03);
        sb.append(", hour04=").append(hour04);
        sb.append(", hour05=").append(hour05);
        sb.append(", hour06=").append(hour06);
        sb.append(", hour07=").append(hour07);
        sb.append(", hour08=").append(hour08);
        sb.append(", hour09=").append(hour09);
        sb.append(", hour10=").append(hour10);
        sb.append(", hour11=").append(hour11);
        sb.append(", hour12=").append(hour12);
        sb.append(", hour13=").append(hour13);
        sb.append(", hour14=").append(hour14);
        sb.append(", hour15=").append(hour15);
        sb.append(", hour16=").append(hour16);
        sb.append(", hour17=").append(hour17);
        sb.append(", hour18=").append(hour18);
        sb.append(", hour19=").append(hour19);
        sb.append(", hour20=").append(hour20);
        sb.append(", hour21=").append(hour21);
        sb.append(", hour22=").append(hour22);
        sb.append(", hour23=").append(hour23);
        sb.append(", created=").append(created);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}